solved examples - shift operator in maths